Skip to content

[release] Replace automatic stabilization regex with an explicit boolean - #40113

Merged
kubaflo merged 3 commits into
mainfrom
kubaflo-release-source-generations
Nov 10, 2026
Merged

kubaflo merged 3 commits into
mainfrom
kubaflo-release-source-generations

Conversation

@kubaflo

@kubaflo kubaflo commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Target Branch

This PR is for Initial base
New features, API changes, or .NET 12 work (including .NET 12 fixes) main
.NET 11 servicing fixes net11, for review
Older servicing, release integration, infrastructure, or documentation The branch designated for that work

For .NET 11 fixes, only a maintainer retargets the approved PR to the active
inflight lane and merges it after CI validates that final base. Do not merge
individual fixes directly into net11; agents must not retarget or merge.

Description of Change

Use the maintainer-requested boolean fallback: StabilizePackageVersion defaults to literal false rather than a release-branch regex. The existing reviewed servicing configuration sets literal true. Branch-derived package labels remain independent, and explicit MSBuild overrides remain effective.

The automatic regex did not eliminate the separate servicing review: #40110 still proposed replacing the expression with true before the manual release cut. This change removes that unnecessary stabilization expression instead of claiming branch-name inference can replace review. It does not remove the existing servicing PR/human-merge requirement or alter exact-cut, mirror, or signing guards.

Update the release workflow documentation. Keep historical expression recognition in the shared helper so immutable old receipts and reviewed commits continue to reproduce; new source and generated configurations use boolean stabilization.

Validation

  • pwsh -NoProfile -File eng/scripts/MauiReleaseConfiguration.Tests.ps1 -OutputDirectory /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/boolean-configuration — all 150 existing assertions passed; no repository tests added or edited.
  • pwsh -NoProfile -File /Users/kubaflo/.copilot/session-state/3312390e-844a-44f1-884c-2ea217514ae1/files/validate-explicit-stabilization.ps1 — all 13 actual MSBuild evaluations passed before and after pushing. Evaluates the actual Versions.props on main/net11/candidate/inflight/staging/release refs, generated candidate/fixes/inflight/servicing configurations, and explicit true/false overrides. Release-ref naming alone remains non-stable; reviewed servicing yields release workload properties with no prerelease suffix.
  • dotnet msbuild eng/Versions.props -nologo -p:BUILD_SOURCEBRANCH=refs/heads/release/11.0.1xx-sr1 -getProperty:PreReleaseVersionLabel,StabilizePackageVersion,DotNetFinalVersionKind,WorkloadVersionSuffix — passed; label servicing, stabilization false, no final release kind, suffix -servicing.
  • git diff --check — passed.

Hosted CI is pending. No production refs or existing servicing PRs were modified; no real signing or publication was dispatched.

Issues Fixed

N/A — maintainer-directed simplification following #40107 and the redundant expression-to-true change in #40110.

kubaflo and others added 3 commits November 9, 2026 23:52
Scope managed review routes to their candidate source, supersede reproducible prior receipts and generated refs with exact leases, and fence stale publication plans without relaxing reviewed-cut safeguards.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Default stabilization to false instead of inferring it from a release ref. Reviewed servicing configuration sets true; preserve historical policy parsing for receipt reproduction.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 00:33
@kubaflo
kubaflo temporarily deployed to copilot-pat-pool November 10, 2026 00:33 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 40113

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 40113"

@azure-pipelines

This comment has been minimized.

@kubaflo

kubaflo commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

@dalexsoto stamp

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the change to make package stabilization explicit.

No open issues 🎉

What changed in this PR

This PR makes .NET MAUI package stabilization explicit rather than inferred from release branch names, preserving the reviewed servicing configuration as the step that enables stable packages.

Changes:

  • Default StabilizePackageVersion to literal false while preserving explicit MSBuild overrides.
  • Update release documentation to distinguish branch-derived branding from stabilization and explain compatibility with historical regex configurations.
File Description
eng/​Versions.props Replaces regex-based stabilization with an explicit false default.
docs/​ReleaseBranchWorkflow.md Documents boolean stabilization and the unchanged reviewed servicing and manual-cut requirements.

Review effort: Balanced

@kubaflo

This comment has been minimized.

@kubaflo

This comment has been minimized.

@github-actions github-actions Bot added the s/agent-review-in-progress AI review is currently running for this PR label Nov 10, 2026
@azure-pipelines

This comment has been minimized.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expert Review — 0 findings

Reviewed commit 318a53c.

@MauiBot

MauiBot commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

PR Test Gate

@kubaflo — existing-test verification for commit 318a53c4.

Result SKIPPED Platform Android Commit 318a53c4


🧪 Gate analysis — click to expand

⚠ Skipped. No runnable PR tests were selected. The fix has not been verified by this gate.

No interpretable test-group summary was produced. No additional test execution is inferred.

PR head: 318a53c4.

Without-fix baseline: 690b4803.

@MauiBot MauiBot removed the s/agent-review-in-progress AI review is currently running for this PR label Nov 10, 2026

@dalexsoto dalexsoto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamping as requested by @kubaflo; no code review performed.

@kubaflo
kubaflo merged commit 13832fc into main Nov 10, 2026
176 of 187 checks passed
@kubaflo
kubaflo deleted the kubaflo-release-source-generations branch November 10, 2026 13:41
@kubaflo kubaflo added this to the .NET 11 SR2 milestone Nov 24, 2026

This branch was previously deployed

1 inactive deployment
copilot-pat-pool — 318a53c4 Deployed Nov 10, 2026 by kubaflo via conclusion #2853
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants